/*
 * Copyright 2006-2023 ahtelit.com, All Rights Reserved.
 */

package com.telit.firecommand.model.iot;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 设备数据request
 *
 * @author yuezhuang
 * @since 2023-04-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "QryDevicesDataRequest", description = "设备数据request")
public class QryDevicesDataRequest implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "当前页")
    private Integer page = 1;

    @ApiModelProperty(value = "每页条数")
    private Integer size = 20;

    @ApiModelProperty(value = "设备SN")
    private String sn;

    @ApiModelProperty(value = "消息类型，枚举值"
            + "data：设备上行数据消息\n"
            + "event：设备事件消息")
    private String messageType;

}
